package com.hinacom.pix.enums;

/**
 * Created by fyu on 2016/9/1.
 */
public enum  ESex {
    FEMALE {
        public int getId(){return 1;}
        public String getValue() {
            return "F";
        }
        public String getDescription() {
            return "FEMALE";
        }
    },
    MALE {
        public int getId(){return 2;}
        public String getValue() {
            return "M";
        }
        public String getDescription() {
            return "MALE";
        }
    },
    OTHER {
        public int getId(){return 3;}
        public String getValue() {
            return "O";
        }
        public String getDescription() {
            return "OTHER";
        }
    },
    UNKNOWN {
        public int getId(){return 4;}
        public String getValue() {
            return "U";
        }
        public String getDescription() {
            return "UNKNOWN";
        }
    };

    public abstract int getId();
    public abstract String getValue();
    public abstract String getDescription();
}
